﻿using System.Collections.Generic;
using static Dm.net.buffer.ByteArrayBuffer;
using static LH.Models.APAR.Api_APVouch;

namespace LH.Model.PU
{
    //宁波恒富 生产订单
    public class NBHF_Morder
    {
 
        //入库单号
        public string Code { get; set; }
        //入库日期
        public string WODate { get; set; }

        public NBHF_Material Material { get; set; }

        public string RequiredEndDate { get; set; }
        public decimal MFGQty { get; set; }

        public NBHF_User Originator { get; set; }
        public string ProjectCode { get; set; }
        public string BatchNo { get; set; }
        public List<NBHF_MorderBody> WorkOrderErpBoms { get; set; }
 

    }
    public class NBHF_MorderBody
    {
        //新增时Id为0，会返回自增的Id
        public int Id { get; set; }

        //物料
        public string Code { get; set; }
        //单位
        public string Uint { get; set; }


        //数量
        public decimal Quantity { get; set; }
        public decimal TotalQuantity { get; set; }
        
    }
    

}
